package com.scala.matchDemo

/**
  *
  * Created by Administrator on 2017/7/6.
  */
object matchTest {

  def main(args: Array[String]): Unit = {
    var l1 = List(1, 2, 3)
    var l2 = List(4, 5, 6)

    println(l1:+0)
    println(-1+:l1)
    println(l1++l2)
    println(l1++:l2)
    println(-2::l1)
    println(l1:::l2)



  }

}
